//
//  PublicClass.h
//  TBRJL
//
//  Created by lili on 15/9/23.
//  Copyright (c) 2015年 程三. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AppDelegate.h"
@interface PublicClass : NSObject
#pragma mark - 16进制的色值转换成rgb
+ (UIColor *) colorWithHexString: (NSString *)color;

//    判断是否为邮箱格式
+ (BOOL)isValidateEmail:(NSString *)email;

//判断电话是否为数字
+ (BOOL)isPureInt:(NSString*)string;

//   身份证识别
+(BOOL)isIdentityCardNo:(NSString*)cardNo;




  //  判断手机号
+ (BOOL)valiMobile:(NSString *)mobile;


+ (BOOL)isValidChinese:(NSString *)name;
@end
